package com.yjhb.android.sbz.entity;

import com.jojo.android.zxlib.base.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 创建者 zx
 * 创建时间 2021/1/4 9:59
 */
public class RedPackDetails extends BaseEntity {
    private Integer id;
    private Integer taskId;
    private Integer userId;
    private String avatar;
    private String nickName;
    private String title;
    private BigDecimal totalMoney;
    private BigDecimal freeMoney;
    private BigDecimal price;
    private int maxStock;
    private int freeStock;
    private Integer state;
    private Date createTime;
    private String taskTitle;
    private String taskName;


    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getTaskTitle() {
        return taskTitle;
    }

    public void setTaskTitle(String taskTitle) {
        this.taskTitle = taskTitle;
    }

    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getTaskId() {
        return taskId;
    }

    public void setTaskId(Integer taskId) {
        this.taskId = taskId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public BigDecimal getTotalMoney() {
        return totalMoney;
    }

    public void setTotalMoney(BigDecimal totalMoney) {
        this.totalMoney = totalMoney;
    }

    public BigDecimal getFreeMoney() {
        return freeMoney;
    }

    public void setFreeMoney(BigDecimal freeMoney) {
        this.freeMoney = freeMoney;
    }

    public int getMaxStock() {
        return maxStock;
    }

    public void setMaxStock(int maxStock) {
        this.maxStock = maxStock;
    }

    public int getFreeStock() {
        return freeStock;
    }

    public void setFreeStock(int freeStock) {
        this.freeStock = freeStock;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "RedPackDetails{" +
                "id=" + id +
                ", taskId=" + taskId +
                ", userId=" + userId +
                ", avatar='" + avatar + '\'' +
                ", nickName='" + nickName + '\'' +
                ", title='" + title + '\'' +
                ", totalMoney=" + totalMoney +
                ", freeMoney=" + freeMoney +
                ", maxStock=" + maxStock +
                ", freeStock=" + freeStock +
                ", state=" + state +
                ", createTime=" + createTime +
                '}';
    }
}
